package com.example.springboot_sdse_air.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Timestamp;

/**
 * 功能：
 * 作者：王彬 202200111149
 * 日期：2025-04-21 15:55
 */
@Data
@TableName("pdf")
public class Pdf {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String parentFolderName; // 父级文件夹名（方便后续管理）
    private Integer uid;
    private String downloadUrl;
    private String previewUrl;
    private Timestamp uploadTime;
    private String status; // 文件状态：uploading, parsing, success, error, upload_error
}
